package com.qingcloud.adminbackend.pojo.app;

import com.qingcloud.adminbackend.entity.app.*;
import com.qingcloud.adminbackend.entity.sysfunction.SysFunction;
import com.qingcloud.base.remote.pojo.FunctionDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * 前端项目表.
 */
@Data
@ToString
@Accessors(chain = true)
public class WebAppExportDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "页面树结构")
    private WebPubApp webPubApp;

    @ApiModelProperty("页面源码")
    private List<WebPubPage> pages;

    @ApiModelProperty("页面资源")
    private List<WebPubPageResource> resources;

    @ApiModelProperty("页面变量")
    private List<WebPubPageVariable> variables;

    @ApiModelProperty("静态资源")
    private List<StaticResource> staticResources;

    @ApiModelProperty("业务种类")
    private String menuType;

    @ApiModelProperty("权限")
    List<SysFunction> functions;

}
